#pragma once

#include <Windows.h>
#include <string>
using std::string;

#include "Entity.h"

class CTile : public CEntity
{
public:
	CTile(void);
	~CTile(void);

	//Overloaded
	bool CheckCollision(IEntity* pOther);

	//Accessors
	bool GetCollidable(void) const {return this->m_bCollidable;}
	bool GetHasEvent(void) const {return this->m_bHasEvent;}
	const char* GetTrigger(void) {return this->m_strTrigger.c_str();}
	//Mutators
	void SetCollidable(bool bCollidable) {this->m_bCollidable = bCollidable;}
	void SetHasEvent(bool bHasEvent) {this->m_bHasEvent = bHasEvent;}
	void SetTrigger(const char* cTrigger) {this->m_strTrigger = cTrigger;}

private:
	bool m_bCollidable;
	bool m_bHasEvent;

	string m_strTrigger;
};

